package cn.school.basics.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@TableName("t_base_subject")
public class BaseSubjectVO extends BaseVO {

    private static final long serialVersionUID = -4415919398117704050L;

    @ApiModelProperty(value = "专业编码")
    private String subjectCode;

    @ApiModelProperty(value = "专业名称")
    private String subjectName;

    @ApiModelProperty(value = "专业修读年限")
    private String subjectYear;

    @ApiModelProperty(value = "开始日期")
    private String beginDate;

    @ApiModelProperty(value = "责任人")
    private String responsibleUser;

    @ApiModelProperty(value = "专业所属部门")
    private String deptId;

    @ApiModelProperty(value = "专业所属部门名称")
    private String deptName;

    @ApiModelProperty(value = "是否启用 1-是 0-否")
    private String status;

    @ApiModelProperty(value = "是否招生 1-是 0-否")
    private String isRecruit;

    @ApiModelProperty(value = "专业费用")
    private BigDecimal subjectAmount;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private List<Long> subjectIds;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
